There are now strong associations between the (3)He-rich, Fe-rich ions in "impulsive" solar energetic particle (SEP) events and the similar abundances derived from gamma-ray lines from flares. Compact flares, where wave energy can predominate, are ideal sites for the study of wave-particle physics. Yet there are nagging questions about the magnetic geometry, the relation between ions that escape and those that interact, and the relative roles of cascading Alfven waves and the EMIC waves required to enhance He-3. There are also questions about the relative timing of ion and electron acceleration and of heating; these relate to the variation of ionization states before and during acceleration and during transport out of the corona. We can construct a model that addresses many of these issues, but problems do remain. Our greatest lack is realistic theoretical simulations of element abundances, spectra, and their variations. By contrast, we now have a much better idea of the acceleration at CME-driven shock waves in the rare but large "gradual" SEP events, largely because of their slow temporal evolution and great spatial extent.